package com.azier.kapacitor.script.method;

import com.azier.kapacitor.script.arg.OriginalArg;

import java.util.ArrayList;

/**
* 1 * @Author: luoj
* 2 * @Date: 2019/11/8 11:27
* 3
*/
public class Buffer extends AbstractMethod {
    private static final String name = "buffer";
    /**
    Number of points to buffer when writing to InfluxDB. Default: 1000
    **/
    /**
    写入InfluxDB时要缓冲的点数。默认值：1000
    **/
    public Buffer(long influxDBOut) {
        super(new ArrayList<>(), name);
        //
        this.args.add(new OriginalArg(influxDBOut));


    }
}
